package com.zfei.gfb.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author fgh
 */
@Data
public class GfbHouseVo {

    // id
    @ApiModelProperty(value = "id", required = true)
    private Integer id;
    // 房源名称
    @ApiModelProperty(value = "房源名称", required = true)
    private String name;
    // 户型
    @ApiModelProperty(value = "户型， 例如2室1厅1卫，“2-1-1”", required = true)
    private String unitType;

    @ApiModelProperty(hidden = true)
    private Integer unit;
    // 图片url集合,json数组形式
    @ApiModelProperty(value = "图片数组", required = true)
    private List<String> images;
    // 建筑面积
    @ApiModelProperty(value = "建筑面积", required = true)
    private Float area;
    // 朝向
    @ApiModelProperty(value = "朝向， 北0南1西2东3", required = true)
    private Integer face;
    // 联系人电话
    @ApiModelProperty(value = "联系人电话", required = true)
    private String phone;
    // 月租金
    @ApiModelProperty(value = "月租金", required = true)
    private Integer price;
    // 出租方式
    @ApiModelProperty(value = "出租方式：2:长租 1:短租", required = false)
    private Integer type;
    // 房源地图坐标
    @ApiModelProperty(value = "坐标", required = true)
    private String point;
    // 房源地址
    @ApiModelProperty(value = "详细地址", required = true)
    private String address;
    // 房源描述
    @ApiModelProperty(value = "房源描述", required = true)
    private String content;

    // 审核状态: 0:待审核 1:通过 2:拒绝
    @ApiModelProperty(value = "审核状态: 0:待审核 1:通过 2:拒绝", required = true)
    private Integer status;
    // 上架状态: 1:上架 2:下架
    @ApiModelProperty(value = "上架状态: 1:上架 2:下架", required = true)
    private Integer putonStatus;
    // 不通过原因
    @ApiModelProperty(value = "不通过原因", required = false)
    private String reason;
    // 消防检查图片url集合
    @ApiModelProperty(value = "消防检查图片url集合", required = false)
    private List<String> checkImages;
    // 发布时间
    @ApiModelProperty(value = "发布时间", required = true)
    private Long pubTime;
    // 收藏量
    @ApiModelProperty(value = "收藏量")
    private long collectNum;
    // 预约量
    @ApiModelProperty(value = "预约量")
    private long applyNum;

    @ApiModelProperty(value = "浏览量")
    private long browseNum;
    // 是否是我收藏的
    @ApiModelProperty(value = "是否是我收藏的", required = false)
    private Boolean isMyCollect;

    @ApiModelProperty(value = "是否是我预约的", required = false)
    private Boolean isMyApply;

    @ApiModelProperty(value = "是否是我的房子", required = false)
    private Boolean isMyHouse;

    @ApiModelProperty(value = "预约列表", required = false)
    private List<GfbHouseApplyVo> gfbHouseApplyVoList;

    @ApiModelProperty(value = "来源，admin=后台录入，client=app录入", required = true)
    private String from;

    @ApiModelProperty(value = "村民")
    private String userName;

    @ApiModelProperty(value = "村落")
    private String villagerName;
}

